package org.dreamwork.jasmine2.template;

import org.dreamwork.compilation.VirtualClass;
import org.dreamwork.compilation.VirtualMethod;
import org.dreamwork.jasmine2.javac.JasmineCreator2;
import org.dreamwork.jasmine2.javac.JasmineFileInfo;
import org.dreamwork.jasmine2.javac.JasminePageInfo;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2010-10-15
 * Time: 14:39:04
 */
public class CodeContext {
    private Class<?> superClass;
    private VirtualClass current;
    private VirtualMethod initComponents;
    private JasminePageInfo pageInfo;
    private JasmineFileInfo fileInfo;
    private JasmineCreator2 creator;

    public Class<?> getSuperClass () {
        return superClass;
    }

    public void setSuperClass (Class<?> superClass) {
        this.superClass = superClass;
    }

    public VirtualClass getCurrent () {
        return current;
    }

    public void setCurrent (VirtualClass current) {
        this.current = current;
    }

    public VirtualMethod getInitComponents () {
        return initComponents;
    }

    public void setInitComponents (VirtualMethod initComponents) {
        this.initComponents = initComponents;
    }

    public JasminePageInfo getPageInfo () {
        return pageInfo;
    }

    public void setPageInfo (JasminePageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

    public JasmineFileInfo getFileInfo () {
        return fileInfo;
    }

    public void setFileInfo (JasmineFileInfo fileInfo) {
        this.fileInfo = fileInfo;
    }

    public JasmineCreator2 getCreator () {
        return creator;
    }

    public void setCreator (JasmineCreator2 creator) {
        this.creator = creator;
    }
}